import axiosInstance from "@/services/http";
import type { Result, PageInfo, Dish } from "@/types";

export async function getDishList(params: { storeId: number, pageNum: number }): Promise<Result<PageInfo<Dish>>> {
    return axiosInstance.get('/dish/list/' + params.storeId, { params: { pageNum: params.pageNum } })
}

